// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import FastClick from 'fastclick'
// import VueRouter from 'vue-router'
import router from './router'
import App from './App'

import qs from 'qs';
import apiConfig from '../config/api.config'
import Axios from 'axios'
import VueAxios from 'vue-axios'

Vue.use(VueAxios, Axios)
// 根据生产环境或者开发环境切换'baseUrl'
Axios.defaults.baseURL = apiConfig.baseUrl



FastClick.attach(document.body)

Vue.config.productionTip = false
new Vue({
  el: '#app-box',
  router,
  components: {
    App
  },
  template: '<App/>'
})
